Configuring CRM for a Site

How to configure the Client Resource Management settings. Restricted to SuperUsers.

As DNN allows for multiple extensions to be on the same page, there is a possibility that one or more of these extensions (skins/containers/modules) may use the same JavaScript or css files. To ensure only a single copy of these files are loaded DotNetNuke has always had an API that CSSCascading Style Sheets (CSS) refers to the style sheet language used to describe the look and formatting of your site. The CSS file is typically included with a skin package to set the style of the site, a page or a module./JavaScript files should call - this improved performance and safeguarded against extensions failing due to multiple copies existing. With the 6.1.0 release, this API was changed to use Client Resource Management, which in addition to the traditional function also allows users to optionally compress these files and combine them into a small number of downloads e.g. Three JavaScript files could be combined into one, improving performance as the browserA software application for displaying HTML pages on the World Wide Web. Common browser applications include Microsoft Internet Explorer and Google Chrome. only loads 1 file rather than 3. For more details on CRM see http://www.dnnsoftware.com/Community/Learn/Wiki/Page/Client-Resource-Management-API

Whilst the CRM will detect changes in files it's aware of and increment the version number accordingly so that users get updated versions of the file(s), it's possible to select the increment site version number to "force" this conversion

Composite files are used to reduce the numbers of file(s) loaded when a page loads. As browsers can load a limited number of files simultaneously (known as parallelism), reducing the number of files will improve performance as the browserA software application for displaying HTML pages on the World Wide Web. Common browser applications include Microsoft Internet Explorer and Google Chrome. does not have to wait to download one file before downloading another -in addition each file has an overhead in making the initial connection (known as network latency), so sites will less files also load quicker.

It is a best practice from a performance perspective to enable both minification and compression, however they are disabled by default as on rare occasions the minification/compression may cause the css or js files to not work as expected.

  1. Navigate to HostThese users have full access to manage the settings and content of all sites with this DNN installation, including the Host site. SuperUser accounts are created using the Host > SuperUser Accounts module. > SiteRefers to a single and unique site created using DNN. Multiple unique sites can be created and managed within each installed DNN application. Management and click the Edit button beside the title of the required site - OR - Navigate to AdminRegistered users who are members of the Administrators role. These users have full access to manage the site including adding, deleting and editing all pages and modules. Administrators also have access to the Admin pages located on the main menu. > SiteRefers to a single and unique site created using DNN. Multiple unique sites can be created and managed within each installed DNN application. Settings.
  2. Select the Advanced Settings tab.
  3. Expand the Client Resource Management section.
  4. At Override HostThese users have full access to manage the settings and content of all sites with this DNN installation, including the Host site. SuperUser accounts are created using the Host > SuperUser Accounts module. Settings, select from these options:
  5. Click the Update button.